Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix game crash from localization #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

WillYuum
Copy link

Game is crashing with this error:

Error: Scene_Preloader.js:49 Uncaught ReferenceError: textStrings is not defined

The variable textStrings was not even created so I handled that.

@@ -25,7 +25,7 @@ var textStrings_EN = {
"areTheyScared": "(ya gotta catch 'em *being* scared by a square)", // not used
"squaresSnubCircles": "SQUARES SNUB CIRCLES",
"areTheySnubbed": "(ya gotta catch 'em *while* snubbing a circle)", // not used
"everyoneHates": "EVERYONE HATES EVERYONE!!1!",
"everyoneHates": "EVERYONE HATES EVERYONE!!!!",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I´m pretty sure this isn't a typo. Just a joke when people type really fast and miss click it

@@ -129,7 +129,7 @@ var textStrings_DE = {
"areTheyScared": "(erwische sie, *wenn* sie fl\xFCchten)",
"squaresSnubCircles": "QUADRAT: Anschuldigungen von KREISEN l\xE4cherlich.",
"areTheySnubbed": "(erwische sie, *w\xE4hrend* sie angreifen)",
"everyoneHates": "ALLE HASSEN JEDEN!!1!",
"everyoneHates": "ALLE HASSEN JEDEN!!!!",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@@ -336,7 +336,7 @@ var textStrings_PT = {
"areTheyScared": "pegue-os *sendo assustados* por um quadrado)", // not used
"squaresSnubCircles": "QUADR. ESNOBAM CÍRCULOS",
"areTheySnubbed": "(pegue *enquanto* esnobam um círculo)", // not used
"everyoneHates": "TODO MUNDO ODEIA TODO MUNDO!!1!",
"everyoneHates": "TODO MUNDO ODEIA TODO MUNDO!!!!",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

@@ -438,7 +438,7 @@ var textStrings_PT_BR = { //I put that way because portuguese from Brazil (PT_BR
"areTheyScared": "(você tem que pegar eles *sendo* assustados por um quadrado)", // not used
"squaresSnubCircles": "QUADRADOS AFRONTAM CÍRCULOS",
"areTheySnubbed": "(você tem que pegá-los *enquanto* eles afrontam os círculos)", // not used
"everyoneHates": "TODO MUNDO ODEIA TODO MUNDO!!1!",
"everyoneHates": "TODO MUNDO ODEIA TODO MUNDO!!!!",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also here

@@ -540,7 +540,7 @@ var textStrings_ES = {
"areTheyScared": "(tienes que atraparlos *siendo* asustados por un cuadrado)", // not used
"squaresSnubCircles": "CUADRADOS DESPRECIAN A CIRCULOS",
"areTheySnubbed": "(ya gotta catch 'em *while* snubbing a circle)", // not used
"everyoneHates": "TODOS SE ODIAN!!1!",
"everyoneHates": "TODOS SE ODIAN!!!!",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you've already got the idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants